/**
 * Copyright (c) 2018 qar All rights reserved.
 *
 * https://www.qar.io
 *
 * 版权所有，侵权必究！
 */

package com.example.dao;

//import com.example.mybatis.dao.BaseDao;
//import com.example.entity.SysRoleEntity;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.example.entity.SysRoleEntity;
import com.example.mybatis.dao.BaseDao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 角色管理
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0
 */
@Mapper
public interface SysRoleDao extends BaseDao<SysRoleEntity> {

    List<SysRoleEntity> selectRoleList(IPage<SysRoleEntity> page, @Param(Constants.WRAPPER) Wrapper<SysRoleEntity> queryWrapper);
    List<SysRoleEntity> selectRoleList(@Param(Constants.WRAPPER) Wrapper<SysRoleEntity> queryWrapper);

}
